package com.baijing.springcloud.web;

import com.baijing.springcloud.service.SomeHystrixService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SomeController {

    @Autowired
    private SomeHystrixService someHystrixService;

    @RequestMapping("/getsome")
    public String getSome() {
        return someHystrixService.getSome();
    }
}
